/** 音频信息 */
export type AudioFrequencyInfo = {
  uid: string;
  name: string;
  cover_url: string;
  audio_url: string;
  remark: string;
  singer: string;
  audit: AuditType;
}

/** 歌曲审核状态 是否通过，默认 0 ，未通过， 1 为通过，2 为标记 */
export enum AuditType {
  Failed = 0,
  Pass = 1,
  Mark = 2,
}

export class AudioFrequencyModel {
  private _data = {} as AudioFrequencyInfo;

  constructor() {
    console.log("user mode...");
  }


  public get data(): AudioFrequencyInfo {
    return this._data;
  }
  public setData(info: AudioFrequencyInfo): void {
    this._data = info;
  }

  public clear(): void {
    this._data = {} as AudioFrequencyInfo;
  }


}